/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package project.ejbs;

import javax.ejb.LocalBean;
import javax.ejb.Stateful;
import javax.ejb.Stateless;
import project.entity.Papel.Perfil;

/**
 *
 * @author Wolf
 */
@Stateful
@LocalBean
public class Session {
    
    private String username;
    private long idEvento;
    private long idSubmissao;
    private Perfil papel;
    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
    
    /**
     * @return the idEvento
     */
    public long getIdEvento() {
        return idEvento;
    }

    /**
     * @param idEvento the idEvento to set
     */
    public void setIdEvento(long idEvento) {
        this.idEvento = idEvento;
    }

    /**
     * @return the idSubmissao
     */
    public long getIdSubmissao() {
        return idSubmissao;
    }

    /**
     * @param idSubmissao the idSubmissao to set
     */
    public void setIdSubmissao(long idSubmissao) {
        this.idSubmissao = idSubmissao;
    }

    /**
     * @return the papel
     */
    public Perfil getPapel() {
        return papel;
    }

    /**
     * @param papel the papel to set
     */
    public void setPapel(Perfil papel) {
        this.papel = papel;
    }

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }
    
}
